import { Injectable } from '@angular/core';
import { Http } from '@angular/http';
import { ServiceBasic } from '../../kalend';
@Injectable()
export class BandambassadorService extends ServiceBasic {

  constructor(http: Http) {
    super('/agentjoin', http);
  }
  querybypage(doc: any) {
    return this.httppost(`/query`, doc);
  }
 
  save(doc: any){
    return this.httppost(`/save`, doc);
  }


  update(doc: any){
    return this.httppost(`/update`, doc);
  }


  querybyid(doc: any){
    return this.httppost(`/querybyid`, doc);
  }
}
